package com.ruoyi.employment.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 学生评价对象 t_comment
 * 
 * @author ruoyi
 * @date 2022-12-24
 */
public class TComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    private Long assisId;

    /** 评价的老师名字 */
    @Excel(name = "评价的老师名字")
    private String teacherName;

    /** 评价分数 */
    @Excel(name = "评价分数")
    private Long score;

    /** 评价学生名字 */
    @Excel(name = "评价学生名字")
    private String studentName;

    /** 帮扶时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "帮扶时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date assistTime;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String problemType;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date commentTime;

    /** 评价描述 */
    @Excel(name = "评价描述")
    private String description;

    public Long getAssisId() {
        return assisId;
    }

    public void setAssisId(Long assisId) {
        this.assisId = assisId;
    }

    public String getProblemType() {
        return problemType;
    }

    public void setProblemType(String problemType) {
        this.problemType = problemType;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setAssistTime(Date assistTime) 
    {
        this.assistTime = assistTime;
    }

    public Date getAssistTime() 
    {
        return assistTime;
    }
    public void setCommentTime(Date commentTime) 
    {
        this.commentTime = commentTime;
    }

    public Date getCommentTime() 
    {
        return commentTime;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherName", getTeacherName())
            .append("score", getScore())
            .append("studentName", getStudentName())
            .append("assistTime", getAssistTime())
            .append("commentTime", getCommentTime())
            .append("description", getDescription())
            .append("problemType", getProblemType())
            .toString();
    }
}
